public class phonetest {
    static void main() {
        phone p = new phone();
        p.brand = "小米";
        p.price =1999.98;
        System.out.println(p.brand);
        System.out.println(p.price);
        p.call();
        p.playGame();

        phone p2 = new phone();
        p2.brand="苹果";
        p2.price =8999;
        System.out.println(p2.brand);
        System.out.println(p2.price);
        p2.call();
        p2.playGame();
    }
}
